package cn.edu.zhku.citrusmonitor.domain;

import java.util.Date;

public class TbAnswer {
    private String answerId;

    private String questionId;

    private Integer expertId;

    private String responder;

    private String content;

    private Date createTime;

    public String getAnswerId() {
        return answerId;
    }

    public void setAnswerId(String answerId) {
        this.answerId = answerId == null ? null : answerId.trim();
    }

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId == null ? null : questionId.trim();
    }

    public Integer getExpertId() {
        return expertId;
    }

    public void setExpertId(Integer expertId) {
        this.expertId = expertId;
    }

    public String getResponder() {
        return responder;
    }

    public void setResponder(String responder) {
        this.responder = responder == null ? null : responder.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    @Override
	public String toString() {
		return "TbAnswer [answerId=" + answerId + ", questionId=" + questionId + ", expertId=" + expertId
				+ ", responder=" + responder + ", content=" + content + ", createTime=" + createTime + "]";
	}

	public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}